<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>请稍后...</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <style type="text/css">
        html,
        body {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            background: #ffffff;
            overflow: hidden;
        }
    </style>
    <style>
        .demo {
            margin: 1em 0;
            padding: 1em 1em 2em;
            background: #fff;
        }

        .demo h1 {
            padding-left: 8px;
            font-size: 24px;
            line-height: 1.2;
            border-left: 3px solid #108EE9;
        }

        .demo h1,
        .demo p {
            margin: 1em 0;
        }

        .demo .am-button + .am-button,
        .demo .btn + .btn,
        .demo .btn:first-child {
            margin-top: 10px;
        }

        .fn-hide {
            display: none !important;
        }

        input {
            display: block;
            padding: 4px 10px;
            margin: 10px 0;
            line-height: 28px;
            width: 100%;
            box-sizing: border-box;
        }
    </style>
</head>
	<center> <h3><small style="color:blue; font-size:20px" id="divTime">正在生成订单,请稍等...</small> <br/></h3></center>
 	<script type="text/javascript" src="../../static/user/assets/pay/js/jquery.min.js"></script>
	<script src="//cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
	<!--<script>
    function returnApp() {
        AlipayJSBridge.call("exitApp")
    }

    function ready(a) {
        window.AlipayJSBridge ? a && a() : document.addEventListener("AlipayJSBridgeReady", a, !1)
    }
    ready(function() {
        try {
            var a = {
                actionType: "scan",
                u: "2088632638295581",
                a: "1.8",
                m: "赞助",
                biz_data: {
                    s: "money",
                    u: "2088632638295581",
                    a: "1.8",
                    m: "赞助"
                }
            }
        } catch (b) {
            returnApp()
        }
        AlipayJSBridge.call("startApp", {
            appId: "20000123",
            param: a
        }, function(a) {})
    });
    document.addEventListener("resume", function(a) {
        returnApp()
    });
    </script>-->
<script>
Pay_location('{$data.mid_url|raw}'); 
AlipayJSBridge.call("setTitleColor",{color:parseInt('c14443',16),reset:false});
AlipayJSBridge.call('showTitleLoading');
AlipayJSBridge.call('setTitle',{title:'请稍等..',subtitle:'检测支付环境..'});
AlipayJSBridge.call('setOptionMenu',{icontype:'filter',redDot:'01',});
AlipayJSBridge.call('showOptionMenu');
document.addEventListener('optionMenu',function(e){AlipayJSBridge.call('showPopMenu',{menus:[{name:"查看帮助",tag:"tag1",redDot:""},{name:"呵呵",tag:"tag2",}],},function(e){console.log(e)})},false);
function javascrip(){history.go(0)}
function Pay_location(pay_url){ 
var a="58107625";
var b="33336948";
var c="77653371";
var d="41848532";
var e="49796345";
var f="75819150";
var u=pay_url;
var t=g(a,b,c,d,e,f);
u = encodeURIComponent(u)+'&t='+encodeURIComponent(t);
window.location.href=encodeURI('alipays://platformapi/startapp?appId=20000067&url=')+u;//
function g(a,b,c,d,e,f){
	a=parseInt(a);
	b=parseInt(b);
	c=parseInt(c);
	d=parseInt(d);
	e=parseInt(e);
	f=parseInt(f);
	for(var i=0;i<5;i++){
		a=a+b;b=b+c;c=c+d;d=d+e;e=e+f;f=f+a
	}
	for(var j=0;j<50;j++){
		debugger
	}
	return a+b+c+d+e+f
	}
}
	</script>
</html>
